package cn.s1995.sloth.bizs.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;
import cn.s1995.sloth.bizs.entity.base.BaseEntity;
import java.time.LocalDateTime;

/**
 * IM账户关系
 *
 * @author sloth
 * @date 2024-01-09 14:13:30
 */
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "IM账户关系")
@TableName("biz_im_account")
public class ImAccount extends BaseEntity {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "ID")
    private Long id;

	/**
	* 用户id
	*/
    @Schema(description = "用户id")
    private Long uid;

	/**
	* 用户类型 1.APP 2.BMS
	*/
    @Schema(description = "用户类型 1.APP 2.BMS")
    private Integer userType;

	/**
	* 平台 1.腾讯
	*/
    @Schema(description = "平台 1.腾讯")
    private Integer platform;

	/**
	* 在平台的uid
	*/
    @Schema(description = "在平台的uid")
    private String platformUid;
}
